propsage.namespace("modules.admin.vendor");

modules.admin.vendor.create = (function($, ui) {

	function initComponents() {
	}

	function initEventHandlers()
	{

		$('#btnSearchPostalcode').PsSearchPostcode({
			'fields': {
				'postcode': '#Vendor_postcode',
				'block': '#Vendor_block',
				'street': '#Vendor_street',
				'city': '#Vendor_city',
				'building_name': '#Vendor_building',
				'country_code': '#Vendor_country_code'
			}
		});
	}


	$(document).ready(function() {
		initComponents();
		initEventHandlers();
	});

	return{};

}(jQuery, propsage.ui));